function drawImage2(container, data) {
    console.log(data)
    const { name: names, slogan: slogans } = data.font


    /** 创建中间包裹group */
    const wrap = container.group()
    /** 创建name sloga 包裹group */
    const g1 = container.group()
    wrap.add(g1)

    /** 创建sloga 包裹group */
    const g2 = container.group()
    wrap.add(g2)

    let scales = 1
    names.forEach(name => {
        const { color, path, scale } = name

        const pth = SVG(path).fill(color)
        g1.add(pth)
        g1.attr({ transform: `scale(${scale})` })
        scales = scale
    })

    /** 创建slogan */
    slogans.forEach(slogan => {
        const { color, path } = slogan

        const pth = SVG(path).fill(color)
        g2.add(pth)
    })

    g2.attr({ transform: `translate(${g1.width() * scales / 2 - g2.width() / 2},${g1.height() + 6})` })


    wrap.attr({ transform: `translate(${CONTAINER_WIDTH / 2 - wrap.width() / 2},${CONTAINER_HEIGHT / 2 - wrap.height() / 2})` })
}